import requests

base_url = "http://192.168.2.36:8088/futureloan/mvc/api/member/"

# 用例1：手机号码已被注册
canshu = {"mobilephone": 18012345678, "pwd": 123456}
r = requests.get(base_url + "register", params=canshu)
assert r.json()['msg'] == "手机号码已被注册"
assert r.json()['code'] == "20110"
assert r.json()['status'] == 0
